<?php
/*
 * @Date: 2021-05-08 11:32:40
 * @Author: yukun
 * @LastEditors: yukun
 * @LastEditTime: 2021-05-08 14:05:10
 * @FilePath: /design-patterns-study/责任链模式/Go.php
 * @Description: 
 */

require "Email.php";
require "SMS.php";
require "Dingtalk.php";

$lev = rand(1, 3);

$message = new Dingtalk();
$message->alert($lev);